package com.demo.service;

import java.util.List;

import com.demo.model.Teacher;

public interface TeacherService {

	int save(Teacher teacher);

	List<Teacher> getTeachers(String name, int pageNo, int pageSize);

	Integer updateTeacher(Teacher teacher);

	Integer deleteTeacher(int id);

	Teacher getTeacherById(int id);

	int count(String name);

}
